/**

This file is part of MaCI/GIMnet.

MaCI/GIMnet is free software: you can redistribute it and/or modify it 
under the terms of the GNU Lesser General Public License as published 
by the Free Software Foundation, either version 3 of the License, or 
(at your option) any later version.

MaCI/GIMnet is distributed in the hope that it will be useful, but WITHOUT 
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public 
License for more details.

You should have received a copy of the GNU Lesser General Public 
License along with GIMnet. (See COPYING.LESSER) If not, see 
<http://www.gnu.org/licenses/>.

**/
#ifndef __GimboSettingsFrame__
#define __GimboSettingsFrame__

/**
@file
Subclass of SettingsFrame, which is generated by wxFormBuilder.
*/

#include "Gimbo_forms.h"

#include "GimboSettings.hpp"

BEGIN_DECLARE_EVENT_TYPES()
DECLARE_EVENT_TYPE(MY_EVT_SETTINGS_CHANGED, -1)
END_DECLARE_EVENT_TYPES()

/** Implementing SettingsFrame */
class GimboSettingsFrame : public SettingsFrame
{
protected:
	// Handlers for SettingsFrame events.
	void OnOK( wxCommandEvent& event );
	void OnCancel( wxCommandEvent& event );
  void OnActivate( wxActivateEvent& event );
  void OnClose( wxCloseEvent& event );
  
public:
	/** Constructor */
  GimboSettingsFrame( wxWindow* parent, TGimboSettings *settings );

private:
  TGimboSettings *settings;
};

#endif // __GimboSettingsFrame__
